package com.app.utils.task;

import com.app.base.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Description
 * Created by 王伟
 * Date create on 14:15 2019/12/12.
 */
public interface TaskDao extends BaseDao {
    /* 更新记录 */
    int updateRecord(@Param("record")long record,@Param("source")String source,@Param("analy")String analy);

    /* 获取记录值 */
    long getRecord(@Param("source")String source,@Param("analy")String analy);
    
    /* 按照服务获取定时任务 */
    List<Task> tasks(String serviceName);

}
